import type { UserTypeE } from './enum';

export type RoleType = '' | '*' | 'user';

export interface UserState {
  user_id?: string;
  user_name?: string;
  avatar?: string;
  token?: string;
  user_type?: UserTypeE;
}

export type providerType =
  | 'weixin'
  | 'qq'
  | 'sinaweibo'
  | 'xiaomi'
  | 'apple'
  | 'univerify'
  | undefined;
